#pragma once
#include <iostream>
#include "WorkerManager.h"

using namespace std;

int main(int argc, char* argv[]){

    WorkerManager worker;
    worker.Show_Menu();

    int choice = 0;
    while (true){
        worker.Show_Menu();
        cout<<"input choice please"<<endl;
        cin>>choice;

        switch (choice){
        case 0: //退出系统
            worker.ExitSystem();
			break;
		case 1: //添加职工
			break;
		case 2: //显示职工
			break;
		case 3: //删除职工
			break;
		case 4: //修改职工
			break;
		case 5: //查找职工
			break;
		case 6: //排序职工
			break;
		case 7: //清空文件
			break;
		default:
			system("cls");
			break;

        }
    }
    
    return 0;
}